package com.huqing.icu.rentreport.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.huqing.icu.rentreport.dto.ReportRecordDto;
import com.huqing.icu.rentreport.dto.ReportRecordQueryDto;
import com.huqing.icu.rentreport.model.ReportRecord;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ReportRecordMapper extends BaseMapper<ReportRecord> {

    Integer getNumByCondition(ReportRecordQueryDto queryDto);

    List<ReportRecordDto> selectByCondition(ReportRecordQueryDto queryDto);

    Integer deleteById(@Param("id") Long id);
}
